package com.shengsheng.expschedule.service.expschedule.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 课程节次表
 * </p>
 *
 * @author yuan
 * @since 2021-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("manage_section")
@ApiModel(value="Section对象", description="课程节次表")
public class Section implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "节次ID")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "节次名称",example = "第一节课")
    private String sectionName;

    @ApiModelProperty(value = "节次时间",example = "08:00-09:30")
    private String sectionTime;

    @ApiModelProperty(value = "作息时间类型",example = "夏季 summer,冬季 winner")
    private String seasonType;

    @ApiModelProperty(value = "时间节次，传入(1,2,3,4,5)", example = "1")
    private Integer time;

    @ApiModelProperty(value = "批次类型",example = "1 为第一批，2 为第二批")
    private Integer batchType;

    @ApiModelProperty(value = "逻辑删除(1 已删除，0 未删除)")
    @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
